home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / 2015 / huds / hud02.hdl < prev    next >
Encoding:
Text File  |  1999-02-24  |  7.6 KB  |  189 lines

  1. // *******************************************************************************
  2. // SIN HUD Layout - Top Design - Low Res Version
  3. // *******************************************************************************
  4. //
  5.  
  6. //###
  7. // put this here so that it wouldn't draw over other stuff
  8.  
  9. // night vision color overlay
  10. if 15
  11. //  fc 1 1 1 0.25
  12. //  cbt nightvision
  13.  
  14. // screen blend
  15.   xl 0 yb 0 fill 0.1 1 0.1 0.075  screenwidth screenheight
  16.  
  17. // dark view frame
  18. //  xl 0 yt -60 fill 0 0 0 0.3  screenwidth 60
  19. //  xl 0 yb 0 fill 0 0 0 0.3  screenwidth 60
  20.  
  21. // top lines
  22.   xv -80 yv 45 fill 0.1 0.75 0.1  0.2  160 2
  23.   xv -75 yv 48 fill 0.1 0.75 0.1  0.12  150 1
  24.  
  25. // bottom lines
  26.   xv -80 yv -47 fill 0.1 0.75 0.1  0.2  160 2
  27.   xv -75 yv -49 fill 0.1 0.75 0.1  0.12  150 1
  28.  
  29. // right bracket
  30.   xv -110 yv -55 fill 0.1 0.75 0.1  0.2  2 110
  31.   xv -108 yv 53 fill 0.1 0.75 0.1  0.2  25 2
  32.   xv -108 yv -55 fill 0.1 0.75 0.1  0.2  25 2
  33.   xv -112 yv -50 fill 0.1 0.75 0.1  0.12  1 100
  34.  
  35. // left bracket
  36.   xv 109 yv -55 fill 0.1 0.75 0.1  0.2  2 110
  37.   xv 84 yv 53 fill 0.1 0.75 0.1  0.2  25 2
  38.   xv 84 yv -55 fill 0.1 0.75 0.1  0.2  25 2
  39.   xv 112 yv -50 fill 0.1 0.75 0.1  0.12  1 100
  40.  
  41.   fc 0.2 1 0.2 0.25
  42.   jcx yb 50 string "Therm-Optics Engaged"
  43.   // range to target number
  44.   xv 10 yv -10 rangenum
  45.   fc 1 1 1 1
  46.  
  47. endif
  48. //###
  49.  
  50. // -------------------------------------------------------------------------------
  51. // Fill Line
  52. xl 0 yt -11 fill 0 0 0 0.66 screenwidth 11        // Dividing Line
  53.  
  54. // -------------------------------------------------------------------------------
  55. // Armor title & current count
  56. fc 0 0.3 0.8 1 xr -47 yt -9 string ARMOR          // Title - ARMOR
  57. fc 1 1 1 1   xr -41 yt -93 pickarmor down         // Display area when you pick up item
  58.  
  59. // -------------------------------------------------------------------------------
  60. // Health title & current count
  61. fc 0 0.3 0.8 1  xr -144 yt -9 string HEALTH:      // Title - HEALTH
  62. fc 1 1 1 1      xr -90 yt -9 smnum hnum           // Health Amount
  63. xr -106 yt -43 pickhealth down                    // Display area when you pick up health
  64.  
  65. // Health and Armor status bars
  66. // Must be before image ovelay is displayed
  67. xr -49 yt -60 hbar 3 48                           // Health status bar line
  68. xr -6  yt -60 rbar 3 48                           // Armor status bar line
  69.  
  70. // Body Picture and damage indicators
  71. //
  72. // Powerup1 = Reactive Shields or Invulnerability
  73. // Powerup2 = Adrenaline
  74. // Powerup3 = Photon Optic Displacement Device or Invisibility
  75. // Powerup4 = Mutagen Transformation
  76. //
  77. ifpowerup 1             // Shields Display 
  78.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  79.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  80.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  81.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  82.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  83.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  84. ifpowerup 2             // Adrenaline Display 
  85.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  86.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  87.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  88.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  89.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  90.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  91. ifpowerup 3             // Cloak Display 
  92.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  93.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  94.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  95.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  96.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  97.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  98. ifpowerup 4             // Mutagen Display 
  99.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  100.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  101.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  102.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  103.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  104.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  105. else                    // Normal Display 
  106.   xr -50 yt -59 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  107.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  108.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  109.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  110.   xr -45 yt -20 arbar 20 28.5 7              // Head overlay area
  111.   xr -45 yt -32 arbar 21 28.5 12             // Chest overlay area
  112.   xr -45 yt -59 arbar 22 28.5 27             // Leg overlay area
  113. endif
  114.  
  115. // -------------------------------------------------------------------------------
  116. // Ammo Title & current count
  117. fc 0 0.3 0.8 1  xl 80 yt -9 string AMMO:     // Title - AMMO
  118. fc 1 1 1 1      xl 118 yt -9 smnum 2         // Ammo Amount
  119.  
  120. // Current weapon
  121. xl 79 yt -44 pic 25                      // Shows display of current weapon
  122. xl 80 yt -42 clipammo                    // Clip Ammo
  123. xl 79 yt -78 pickweap down               // Display area when you pick up item
  124.  
  125. // -------------------------------------------------------------------------------
  126. // Items title & current inv item
  127. fc 0 0.3 0.8 1 xl 0 yt -9 string ITEMS:      // Title - ITEMS
  128. fc 1 1 1 1     xl 46 yt -9 smnum 4           // Item Amount
  129. xl 18 yt -44 fill 0 0 0 0.66 32 32           // Background fill for area 
  130. xl 18 yt -78 pickitem down                   // Display area when you pick up item
  131.  
  132. // Current inv item
  133. if 3
  134.   xl 18 yt -44 pic 3                      // Shows display of current INV item
  135. endif
  136.  
  137. // -------------------------------------------------------------------------------
  138. // Floating inventory
  139. //
  140. xv -32 yv -60 drawinv                     // Display for items on bodies that you can pick up
  141.  
  142. // -------------------------------------------------------------------------------
  143. // Deathmatch count display
  144. //
  145. ifdm
  146.   xr -88 yb 11 fill 0 0 0 0.66 88 10      // Background fill for DM Score 
  147.   fc 0 0.3 0.8 1
  148.   xr -86 yb 12 string FRAGS:              // Title - DM SCORE
  149.   fc 1 1 1 1
  150.   xr -30 yb 12 smnum 10                   // Current score during DM play - Top
  151. endif
  152.  
  153. // -------------------------------------------------------------------------------
  154. //###
  155.  
  156. ifcp // do this if there are checkpoints
  157.   xr -175    yt -25    string "Fastest:"
  158.   xr -110    yt -25     fastestlap
  159.   xr -175    yt -35     string "   Last:"
  160.   xr -110    yt -35     lapnum 12
  161.   xr -175    yt -45    string "Current:"
  162.   xr -110    yt -45    lapnum 13
  163.   xr -175    yt -55    string " # CP's:"
  164.   xr -110    yt -55    smnum 14
  165. endif
  166.  
  167. //###
  168.  
  169. // -------------------------------------------------------------------------------
  170. // Draw game messages - One's issued from the game to the player.
  171. // These lines are displayed at the top left portion of the screen.
  172. //
  173. fc 1 1 1 1
  174. xl 0 yb 24 drawnotify 4
  175.  
  176. // Draw player messages - One's typed in from messagemode to other players.
  177. // This one is displayed in the open area in the middle of the HUD layout.
  178. //
  179. xl 0 yb 32 drawmessage 28 
  180.  
  181. // -------------------------------------------------------------------------------
  182. // See if we should draw the exit sign
  183. //
  184. if 31
  185.   xr -80 yb 16 anim 8 exitsign_
  186. endif
  187.  
  188. // -------------------------------------------------------------------------------
  189.